package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.ElectronicFence;

/**
 * fenceMapper接口
 * 
 * @author ruoyi
 * @date 2023-09-25
 */
public interface ElectronicFenceMapper 
{
    /**
     * 查询fence
     * 
     * @param electronicId fence主键
     * @return fence
     */
    public ElectronicFence selectElectronicFenceByElectronicId(Long electronicId);

    /**
     * 查询fence列表
     * 
     * @param electronicFence fence
     * @return fence集合
     */
    public List<ElectronicFence> selectElectronicFenceList(ElectronicFence electronicFence);

    /**
     * 新增fence
     * 
     * @param electronicFence fence
     * @return 结果
     */
    public int insertElectronicFence(ElectronicFence electronicFence);

    /**
     * 修改fence
     * 
     * @param electronicFence fence
     * @return 结果
     */
    public int updateElectronicFence(ElectronicFence electronicFence);

    /**
     * 删除fence
     * 
     * @param electronicId fence主键
     * @return 结果
     */
    public int deleteElectronicFenceByElectronicId(Long electronicId);

    /**
     * 批量删除fence
     * 
     * @param electronicIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteElectronicFenceByElectronicIds(Long[] electronicIds);
}
